package org.lq.ht.view.goods;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JTextPane;
import javax.swing.JButton;

public class goodsAdd extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					goodsAdd frame = new goodsAdd();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public goodsAdd() {
		setTitle("商品添加");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 645, 422);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("序号：");
		lblNewLabel.setBounds(30, 31, 58, 15);
		contentPane.add(lblNewLabel);
		
		textField = new JTextField();
		textField.setEnabled(false);
		textField.setEditable(false);
		textField.setBounds(98, 28, 58, 21);
		contentPane.add(textField);
		textField.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("编号：");
		lblNewLabel_1.setBounds(30, 69, 58, 15);
		contentPane.add(lblNewLabel_1);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(98, 63, 109, 21);
		contentPane.add(textField_1);
		
		JLabel lblNewLabel_2 = new JLabel("类别：");
		lblNewLabel_2.setBounds(30, 105, 58, 15);
		contentPane.add(lblNewLabel_2);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(98, 102, 109, 21);
		contentPane.add(textField_2);
		
		JLabel lblNewLabel_3 = new JLabel("库存：");
		lblNewLabel_3.setBounds(30, 144, 58, 15);
		contentPane.add(lblNewLabel_3);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(98, 141, 109, 21);
		contentPane.add(textField_3);
		
		JLabel lblNewLabel_4 = new JLabel("最小库存：");
		lblNewLabel_4.setBounds(30, 185, 69, 15);
		contentPane.add(lblNewLabel_4);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(98, 182, 109, 21);
		contentPane.add(textField_4);
		
		JLabel lblNewLabel_5 = new JLabel("最大库存：");
		lblNewLabel_5.setBounds(30, 228, 69, 15);
		contentPane.add(lblNewLabel_5);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(98, 225, 109, 21);
		contentPane.add(textField_5);
		
		JLabel lblNewLabel_6 = new JLabel("名称：");
		lblNewLabel_6.setBounds(310, 31, 58, 15);
		contentPane.add(lblNewLabel_6);
		
		textField_6 = new JTextField();
		textField_6.setColumns(10);
		textField_6.setBounds(378, 28, 109, 21);
		contentPane.add(textField_6);
		
		JLabel lblNewLabel_1_1 = new JLabel("拼音简码：");
		lblNewLabel_1_1.setBounds(310, 69, 75, 15);
		contentPane.add(lblNewLabel_1_1);
		
		textField_7 = new JTextField();
		textField_7.setEnabled(false);
		textField_7.setColumns(10);
		textField_7.setBounds(378, 63, 109, 21);
		contentPane.add(textField_7);
		
		JLabel lblNewLabel_2_1 = new JLabel("进价：");
		lblNewLabel_2_1.setBounds(310, 105, 58, 15);
		contentPane.add(lblNewLabel_2_1);
		
		textField_8 = new JTextField();
		textField_8.setColumns(10);
		textField_8.setBounds(378, 102, 109, 21);
		contentPane.add(textField_8);
		
		JLabel lblNewLabel_3_1 = new JLabel("售价：");
		lblNewLabel_3_1.setBounds(310, 144, 58, 15);
		contentPane.add(lblNewLabel_3_1);
		
		textField_9 = new JTextField();
		textField_9.setColumns(10);
		textField_9.setBounds(378, 141, 109, 21);
		contentPane.add(textField_9);
		
		JLabel lblNewLabel_4_1 = new JLabel("积分：");
		lblNewLabel_4_1.setBounds(310, 185, 58, 15);
		contentPane.add(lblNewLabel_4_1);
		
		textField_10 = new JTextField();
		textField_10.setColumns(10);
		textField_10.setBounds(378, 182, 109, 21);
		contentPane.add(textField_10);
		
		JLabel lblNewLabel_5_1 = new JLabel("供应商：");
		lblNewLabel_5_1.setBounds(310, 228, 58, 15);
		contentPane.add(lblNewLabel_5_1);
		
		textField_11 = new JTextField();
		textField_11.setColumns(10);
		textField_11.setBounds(378, 225, 109, 21);
		contentPane.add(textField_11);
		
		JLabel lblNewLabel_7 = new JLabel("备注：");
		lblNewLabel_7.setBounds(313, 267, 58, 15);
		contentPane.add(lblNewLabel_7);
		
		JTextPane textPane = new JTextPane();
		textPane.setBounds(377, 258, 146, 65);
		contentPane.add(textPane);
		
		JButton btnNewButton = new JButton("保存");
		btnNewButton.setBounds(170, 350, 97, 23);
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("取消");
		btnNewButton_1.setBounds(341, 350, 97, 23);
		contentPane.add(btnNewButton_1);
	}
}
